package com.edu.service.impl;

import com.edu.beans.Admin;
import com.edu.dao.AdminsDao;
import com.edu.dao.impl.AdminsDaoImpl;
import com.edu.service.AdminsService;

public class AdminsServiceImpl implements AdminsService {
    AdminsDao adminsDao = new AdminsDaoImpl();

    @Override
    public Admin login(String username, String password) {
        return adminsDao.login(username, password);
    }
}
